package com.bbva.kyfb.kyfbdto.firmas.fachada.v01;

import java.io.Serializable;

import javax.validation.constraints.Digits;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * The Class InfoFileCompaniesRequest.
 */
@XmlRootElement
public class InfoFileCompaniesRequest implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;


	/** The s canal. */
	private String sCanal;
	
	/** The s banco. */
	private String sBanco;
	
	/** The s referencia. */
	private String sReferencia;
	
	/** The s dni solicitud. */
	private String sDNISolicitud;
	
	
	/**
	 * Instantiates a new info file companies request.
	 */
	public InfoFileCompaniesRequest() {
		// TODO Auto-generated constructor stub
	}


	/**
	 * Gets the s canal.
	 *
	 * @return the sCanal
	 */
	@NotEmpty
	@Digits(fraction=0,integer=4)
	@Length(min=1,max=4)
	public String getsCanal() {
		return sCanal;
	}


	/**
	 * Sets the s canal.
	 *
	 * @param sCanal the sCanal to set
	 */
	public void setsCanal(String sCanal) {
		this.sCanal = sCanal;
	}


	/**
	 * Gets the s banco.
	 *
	 * @return the sBanco
	 */
	@NotEmpty
	@Length(min=1,max=4)
	@Digits(fraction = 0, integer = 4)
	public String getsBanco() {
		return sBanco;
	}


	/**
	 * Sets the s banco.
	 *
	 * @param sBanco the sBanco to set
	 */
	public void setsBanco(String sBanco) {
		this.sBanco = sBanco;
	}


	/**
	 * Gets the s referencia.
	 *
	 * @return the sReferencia
	 */
	@NotEmpty
	@Length(min=1,max=8)
	@Digits(fraction=0,integer=8)
	public String getsReferencia() {
		return sReferencia;
	}


	/**
	 * Sets the s referencia.
	 *
	 * @param sReferencia the sReferencia to set
	 */
	public void setsReferencia(String sReferencia) {
		this.sReferencia = sReferencia;
	}


	/**
	 * Gets the s dni solicitud.
	 *
	 * @return the sDNISolicitud
	 */
	public String getsDNISolicitud() {
		return sDNISolicitud;
	}


	/**
	 * Sets the s dni solicitud.
	 *
	 * @param sDNISolicitud the sDNISolicitud to set
	 */
	public void setsDNISolicitud(String sDNISolicitud) {
		this.sDNISolicitud = sDNISolicitud;
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "InfoFileCompaniesRequest [sCanal=" + sCanal + ", sBanco="
				+ sBanco + ", sReferencia=" + sReferencia + ", sDNISolicitud="
				+ sDNISolicitud + "]";
	}
	
	
	
}
